import BaseLayer from "../Base/BaseLayer";
import { SceneGame } from "../SceneGame";

const { ccclass, property } = cc._decorator;

@ccclass
export default class ViewUI extends BaseLayer {
    public static instance: ViewUI = null;

    protected start() {}

    private async onBtnsClicked(event: cc.Event.EventTouch, eventData: string) {
        const name = event.target.name;
        switch (name) {
            case 'xxxxx':
                {
                    SceneGame.instance.showPopView('SettingUI');
                }
                break;
            }
    }
}